import React from 'react';
import ReactDOM from 'react-dom/client';
import App from './App';
import {Provider} from 'react-redux'
import store from './store';
//由于这个项目的入口是src/index.js，为了让这个项目中能够装入store仓库，这里暂时直接引入store对象
const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(
    <Provider store={store}>
        <App />
    </Provider>
   
);

